package com.karson.service.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.karson.common.model.User;
import com.karson.common.request.UserSearchRequest;
import com.karson.common.request.UserStatusRequest;
import com.karson.common.response.UserResponse;
import jakarta.servlet.http.HttpServletRequest;

/**
* @author ZKS
* @description 针对表【ar_user(用户表)】的数据库操作Service
* @createDate 2025-07-01 21:51:24
*/
public interface UserService extends IService<User> {

    User getByPhone(String phone);

    User registerPhone(String phone, HttpServletRequest request);

    IPage<UserResponse> pageList(IPage<UserResponse> userResponsePage, UserSearchRequest request);

    UserResponse getInfo(Integer uid);

    boolean delUser(Integer uid);

    boolean updateStatus(Integer uid, Boolean status);
}
